<%--
  User: zhouyanchao
  Date: 2017/10/18
--%>
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
	<base href="${BaseContext}">
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>管理系统首页</title>
	<link href="static/assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
	<link href="static/assets/css/bui-min.css" rel="stylesheet" type="text/css" />
	<link href="static/assets/css/main-min.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div class="header">

	<div class="dl-title">
		<!--<img src="/chinapost/Public/assets/img/top.png">-->
	</div>

	<div class="dl-log">欢迎您，<span class="dl-log-user">程小凤</span>

		<a href="/chinapost/index.php?m=Public&a=logout" title="退出系统" class="dl-log-quit">[退出]</a>
	</div>
</div>
<div class="content">
	<div class="dl-main-nav">
		<div class="dl-inform"><div class="dl-inform-title"><s class="dl-inform-icon dl-up"></s></div></div>
		<ul id="J_Nav"  class="nav-list ks-clear">
			<li class="nav-item dl-selected"><div class="nav-item-inner nav-home">医院管理系统</div></li>

		</ul>
	</div>
	<ul id="J_NavContent" class="dl-tab-conten">
	</ul>
</div>
<script type="text/javascript" src="static/assets/js/jquery-1.6.js"></script>
<script type="text/javascript" src="static/assets/js/bui.js"></script>
<script type="text/javascript" src="static/assets/js/common/main-min.js"></script>
<script type="text/javascript" src="static/assets/js/config-min.js"></script>
<script>


	var menus;
	$(function () {

		$.get('menus.action',function (result) {

			console.log(result);
			menus = result;

			BUI.use('common/main',function(){
				var config = [
					{id:'1',menu:[
						{text:'系统功能',items:menus	}
					]}
				];
				new PageUtil.MainPage({
					modulesConfig : config
				});
			});

		},'json');

	});

	/**
	 [
	 {id:'2',text:'挂号信息管理',href:'registration/index.html'},
	 {id:'3',text:'门诊医生管理',href:'doctor/index.html'},
	 {id:'4',text:'药品管理',href:'medicine/index.html'},
	 {id:'5',text:'住院办理',href:'hospital/index.html'},
	 {id:'6',text:'收费项目登记',href:'hospital/charge.html'},
	 {id:'7',text:'在院发药',href:'hospital/dispensing.html'},
	 {id:'8',text:'住院结算',href:'hospital/account.html'},

	 {id:'11',text:'用户管理',href:'User/index.html'},
	 {id:'12',text:'角色管理',href:'Role/index.html'},
	 {id:'13',text:'资源管理',href:'Resource/index.html'},
	 {id:'14',text:'密码设置	',href:'Resource/index.html'},
	 {id:'9',text:'营业额统计(未实现)',href:''}
	 ]
	 */
</script>
</body>
</html>
